from django.urls import path
from rest_framework.routers import DefaultRouter

from scan import views

router = DefaultRouter()
router.register('machines', viewset=views.MachineViewSet, basename='machines')
router.register('accounts', viewset=views.AccountViewSet, basename='accounts')
router.register('status', viewset=views.MachineStatusAPIView, basename='status')
urlpatterns = [

]
urlpatterns += router.urls
